#include "BaseTask.h"

BaseTask::BaseTask(char *body, int len, int socketfd)
{
   
    this->m_body = new char[len];
    bzero(this->m_body, sizeof(this->m_body));
    memcpy(m_body, body, len);
    m_socketfd = socketfd;
    m_len=len;
}

BaseTask::~BaseTask()
{
    delete[] m_body;
}

